//
//  City.m
//  07_HomeWork
//
//  Created by dllo on 16/7/12.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "City.h"

@implementation City

- (void)dealloc {
    [_array release];
    [super dealloc];
}
- (void)setArray:(NSMutableArray *)array {
    if (!array) {
        self.array = [NSMutableArray array];
    }
}
- (instancetype)initWithName:(NSString *)name number:(NSString *)number {
    if (self) {
        _array = [NSMutableArray array];
    }
    return self;
}
-(NSString *)description {
    return [NSString stringWithFormat:@"%@-%@-%@", _array, self.name, self.number];
}
@end
